package com.ldx.blog.sevice;

import com.ldx.blog.common.exception.BlogException;
import com.ldx.blog.pojo.request.UserLoginRequest;
import com.ldx.blog.pojo.response.UserInfoResponse;
import com.ldx.blog.pojo.response.UserLoginResponse;

public interface UserService {
    UserLoginResponse login(UserLoginRequest userLoginRequest) throws BlogException;

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse getAuthorInfo(Integer blogId) throws BlogException;
}
